package org.lanplay.server.entitymodel;

import java.io.Serializable;

import lombok.Getter;

public class EntityNotFoundException extends RuntimeException {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Getter
	private final Class<?> clazz;
	@Getter
	private final Serializable id;

	public EntityNotFoundException(Class<?> clazz, Serializable id) {
		this.clazz = clazz;
		this.id = id;
	}

}
